package cn.innosmart.aq.bean;

import android.os.Parcel;
import android.os.Parcelable;

import org.json.JSONArray;

import java.util.ArrayList;

/**
 * Created by David on 2015/8/17.
 */
public class ValueConditionBean{
    private String field;
    private String op;
    private double threshold;
    private int duaration;
    private JSONArray thresholdList;

    public JSONArray getThresholdList() {
        return thresholdList;
    }

    public void setThresholdList(JSONArray thresholdList) {
        this.thresholdList = thresholdList;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public String getOp() {
        return op;
    }

    public void setOp(String op) {
        this.op = op;
    }


    public int getDuaration() {
        return duaration;
    }

    public void setDuaration(int duaration) {
        this.duaration = duaration;
    }

    public double getThreshold() {
        return threshold;
    }

    public void setThreshold(double threshold) {
        this.threshold = threshold;
    }

    @Override
    public String toString() {
        return "ValueConditionBean{" +
                "field='" + field + '\'' +
                ", op='" + op + '\'' +
                ", threshold=" + threshold +
                ", duaration=" + duaration +
                '}';
    }



    public ValueConditionBean() {
    }


}
